home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mt / mtio.h < prev   
C/C++ Source or Header  |  1992-05-18  |  2KB  |  42 lines

  1. /*
  2.  * mt.h --
  3.  *
  4.  *    Declarations for tape handling.
  5.  *
  6.  * Copyright 1988 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /sprite/src/lib/include/RCS/sys/mtio.h,v 1.6 90/03/29 12:44:34 shirriff Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _MTIO
  19. #define _MTIO
  20.  
  21. #define MTWEOF          0       /* write an end-of-file record */
  22. #define MTFSF           1       /* forward space over file mark */
  23. #define MTBSF           2       /* backward space over file mark (1/2" only
  24.  )*/
  25. #define MTFSR           3       /* forward space to inter-record gap */
  26. #define MTBSR           4       /* backward space to inter-record gap */
  27. #define MTREW           5       /* rewind */
  28. #define MTOFFL          6       /* rewind and put the drive offline */
  29. #define MTNOP           7       /* no operation, sets status only */
  30. #define MTRETEN         8       /* retension the tape (cartridge tape only) */
  31. #define MTERASE         9       /* erase the entire tape */
  32. #define MTEOM           10      /* position to end of media */
  33. #define MTNBSF          11      /* backward space file to BOF */
  34. #define MTASF           12      /* absolute position */
  35. #define MTSTATUS        13      /* status inquiry */
  36. #define MTCACHE         14      /* enable tape cache */
  37. #define MTNOCACHE       15      /* disable tape cache */
  38.  
  39. #endif
  40.  
  41.  
  42.